import socialApi from "@/api/declaration/socialApi"
import httpRequest from "@/config/axios/httpRequest"
import { SocialUserModel } from "@/models/social/SocialUserModel"




// 查询社交用户列表
export const getSocialUserPage = async (params) => {
  return await httpRequest.get<SocialUserModel[]>(socialApi.GetSocialUserPage, { params })
}

// 查询社交用户详情
export const getSocialUser = async (id: number) => {
  return await httpRequest.get<SocialUserModel>(socialApi.GetSocialUser, { params: { id } })
}
